package com.hd.trans.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.hd.trans.R
import com.hd.trans.db.bean.TranslateRecord

class RecordTextAdapter2():
    BaseQuickAdapter<TranslateRecord, BaseViewHolder>(R.layout.trans_record_text) {
    override fun convert(holder: BaseViewHolder, item: TranslateRecord) {
        holder.setText(R.id.text_1, item.contentOrig)
        holder.setText(R.id.text_2, item.contentTranslate)
    }
}